package com.pbc.gmp.model.basemodel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *  * 组织规则表，用来确定组织之间的管理关系
 * </p>
 *
 * @author kjk
 * @since 2017-12-23
 */
@TableName("t_org_rule")
public class OrgRule implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 组织id
	 */
	private Long orgid;

	/**
	 * 具体的管理组织,当管理类型为DEF_TYPE时，就从该字段中找到所有的可以管理的组织
	 */
	private String managerorg;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrgid() {
		return orgid;
	}

	public void setOrgid(Long orgid) {
		this.orgid = orgid;
	}

	public String getManagerorg() {
		return managerorg;
	}

	public void setManagerorg(String managerorg) {
		this.managerorg = managerorg;
	}

}
